using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace FORUs
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            UltrastarSong usSong =
                UltrastarSong.FromFile(@"C:\Program Files\UltraStar Deluxe\Songs\Garou - Seul\Garou - Seul.txt");

            StringBuilder sText = new StringBuilder(usSong.Filename);
            sText.Append("\r\n");
            sText.Append(usSong.Mp3Filename);
            sText.Append("\r\n");
            sText.Append(usSong.Artist);
            sText.Append("\r\n");
            sText.Append(usSong.Title);
            sText.Append("\r\n");
            sText.Append(usSong.CoverFilename);
            sText.Append("\r\n");
            sText.Append(usSong.BackgroundFilename);
            sText.Append("\r\n");
            sText.Append(usSong.Edition);
            sText.Append("\r\n");
            sText.Append(usSong.Genre);
            sText.Append("\r\n");
            sText.Append(usSong.Language);

            textBox1.Text = sText.ToString();
        }
    }
}